﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.RF.SourceCategory
{
    public class NFCheckInfo
    {
        public int ID { get; set; }
        public string ProductSN { get; set; }
        public DateTime RecordTime { get; set; }
        public string ProductTypeID { get; set; }
        public string UserID { get; set; }
        public string PCIP { get; set; }
        public bool IsPass { get; set; }

        public string Result { get { return IsPass ? "Pass" : "Fail"; } }
    }

    [Serializable]
    public class NFCheckItemInfo 
    {
        public int ID { get; set; }
        public string TestChannel { get; set; }
        public string TestItem { get; set; }
        public decimal Spec { get; set; }
        public decimal Result { get; set; }
        public bool IsPass { get; set; }
    }
}
